//
//  SquareATableViewCell.h
//  安好
//
//  Created by rlp on 14-11-14.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SquareMarkView.h"
#import "UIImageView+MJWebCache.h"


#define BUTTONADD_TAG 1000001

@protocol SquareCellImageViewsDelegate <NSObject>
/**
 *  点击image回调方法
 *
 *  @param index      imageview的 SuperView的tag
 *  @param imageIndex imageview的 tag
 */
-(void)squareCellImageViewsIndex:(NSInteger)index subImageIndex:(NSInteger)imageIndex;
/**
 *  点击最下面按钮的回调（如评论，收藏，阅读）
 *
 *  @param index 按钮SuperView的标记tag
 *  @param buttonIndex 按钮的标记tag 从左到右0，1，2
 */
-(void)bottomViewIndex:(NSInteger)index subImageIndex:(NSInteger)buttonIndex;

@end

@interface SquareATableViewCell : UITableViewCell

@property(nonatomic,assign)id <SquareCellImageViewsDelegate> delegate;

@property (nonatomic, strong)UILabel *title;//标题
@property (nonatomic, strong)SquareMarkView *squareMarkView;//标签view
@property (nonatomic, strong)NSArray *squareMarkStyles;//标签数组
@property (nonatomic, strong)UIView *squareCellImageView;
@property (nonatomic,strong)NSArray *arrayNumber;//评论收藏点赞数量


@property(nonatomic,strong)NSMutableArray *squareCellImageViewsArray;//内容中的图片集合






@property (nonatomic, strong)UILabel *content;//内容
//@property (nonatomic, strong)NSArray *contentImages;//内容中的图片集合


@property (nonatomic, strong)UILabel *timesLabel;//时间
@property (nonatomic, strong)UIView *bottomView;





@end
